The phrase "than in traditional public schools" is a comparative phrase that indicates how something compares to or has an advantage over another thing. In this context, it means that online learning provides a better educational experience than traditional classroom-based education.